/*去除默认样式*/
*{
    margin: 0;
    padding: 0;
}

body{
    background-color: #f3f5f7;
    height: 2000px;
}

/*去除li样式*/
li{
    list-style: none;
}

/*去除a链接样式*/
a{
    text-decoration: none;
}

/*清除浮动的*/
.clearfix:before,
.clearfix:after {
	content: "";
	display: table;
}
.clearfix:after {
	clear: both;
}
.clearfix {
	*zoom: 1;
}

/*版心 1200 水平居中*/
.contanner{
    margin: 0 auto;
    width: 1200px;
}

/*header start*/
.header{
    margin: 30px auto;
    height: 42px;
    /* background-color: green; */
}

.header .logo{
    float: left;
    margin-right: 70px;
    width: 195px;
    height: 42px;
}

.header .nav{
    float: left;
}

.header .nav ul li{
    float: left;
}

.header .nav ul li a{
    display: block;
    margin-right: 25px;
    padding: 0 10px;
    height: 42px;
    line-height: 42px;
    font-size: 18px;
    color: #050505;
}

.header .nav ul li a:hover{
    border-bottom: 2px solid #00a4ff;
}

.search{
    float: left;
    margin-right: 30px;
    height: 42px;
}

.search input{
    float: left;
    width: 360px;
    height: 40px;
    border: 1px solid #00a4ff;
}

.search button{
    float: left;
    width: 50px;
    height: 40px;
    border: 1px solid #00a4ff;
    box-sizing: content-box;
    background: url(img/btn.png) no-repeat;
}

.user{
    float: left;
    height: 42px;
    line-height: 42px;
    font-size: 14px;
    color: #666;
}

.user img{
    vertical-align: middle;
}
/*header end*/

/* banner start */
.banner{
    height: 420px;
    background: #1c036c url(img/banner2.jpg) no-repeat  center top;
}

.sub-nav{
    float: left;
    width: 150px;
    height: 420px;
    padding: 0 20px;
    background-color: rgba(0, 0, 0, .4);
}

.sub-nav ul li{
    height: 45px;
    line-height: 45px;
}
.sub-nav ul li a{
    font-size: 14px;
    color: white;
}
.sub-nav ul li a:hover{
    color: #00a4ff;
}
.sub-nav ul li a span{
    float: right;
}
.course{
    position: fixed;
    top: 120px;
    right: 50px;
    width: 228px;
    height: 300px;
    background-color: white;
}
.course-hd{
    height: 48px;
    line-height: 48px;
    text-align: center;
    background-color: #9bceea;
    font-size: 18px;
    font-weight: 700;
    color: white;
}
.course-bd{
    padding: 0 20px;
}
.course-bd ul{
    padding-top: 10px;
    /* 外边距合并， */
    /* margin-top: 10px; */
}
.course-bd ul li{
    margin-top: 10px;
    height: 50px;
    border-bottom: 1px solid #efefef;
}
.course-bd ul li h4{
    font-size: 14px;
    color: #4e4e4e;
}
.course-bd ul li p{
    font-size: 12px;
    color: #a5a5a5;
}
.all{
    display: block;
    margin-top: 10px;
    height: 38px;
    line-height: 38px;
    border: 1px solid #00a4ff;
    text-align: center;
    font-size: 16px;
    color: #00a4ff;
}
.all:hover{
    background-color: #00a4ff;
    color: white;
}
/* banner end */
